gtkspinbutton: Group up/down button gestures with self
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 24 Aug 2020 12:45:42 +0000 (14:45 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 24 Aug 2020 12:55:47 +0000 (14:55 +0200)
commite61f516a7c5de04a325c04d0566b11a1ec88cec5
tree6769813e2bdb9f4920d210eed220b525fcfcb875
parentbcd0a9e5d853f1bb8ea94eebfd10986c99315481
gtkspinbutton: Group up/down button gestures with self

We are adding click gestures on the up/down buttons, but can't let
the GtkButton built-in ones prevent ours to run.

As the saying goes, if you can't beat them, join them. Group the
spinbutton and GtkButton gestures together, so it's irrelevant which
gets called first and ends up winning.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3085
gtk/gtkspinbutton.c